package com.entfrm.system.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.entfrm.system.entity.BiInfo;
import com.entfrm.system.entity.ContractManage;
import com.entfrm.system.mapper.BiInfoMapper;
import com.entfrm.system.mapper.ContractManageMapper;
import com.entfrm.system.service.BiInfoService;
import com.entfrm.system.service.ContractMangeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author entfrm
 * @date 2020-04-23 18:15:10
 * @description 应用Service业务层
 */
@Service
public class ContractManageServiceImpl extends ServiceImpl<ContractManageMapper, ContractManage> implements ContractMangeService {
    @Autowired
    ContractManageMapper contractManageMapper;
    @Override
    public List<ContractManage> getContractByFactory() {
        return contractManageMapper.getContractByFactory();
    }

    @Override
    public List<ContractManage> getContractByYear() {
        return contractManageMapper.getContractByYear();
    }

    @Override
    public List<ContractManage> getContractByDept() {
        return contractManageMapper.getContractByDept();
    }

    @Override
    public List<ContractManage> getContractByType() {
        return contractManageMapper.getContractByType();
    }

    @Override
    public List<ContractManage> getContractByNode() {
        return contractManageMapper.getContractByNode();
    }
}